<template>
  <div class="myuserInfo">
    <div class="userInfoTitle">
      <p @click="$router.go(-1)">
        <img src="../assets/leftl.png" />
      </p>
      <p>个人资料</p>
      <p></p>
    </div>
    <div class="userInfoH ajc">
      <p>
        <img src="../assets/recordH.png" />
      </p>
      <p>
        <img src="../assets/zx.png" />
      </p>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  created() {
    this.$parent.showTabbar = false;
    this.getUserInfo()
  },
  methods: {
    getUserInfo(){
      this.$axios({
        url:'common/user',

      }).then(res=>{
        console.log(res)
      })
    }
    
  }
};
</script>

<style lang='less'>
.myuserInfo{
   width: 100%;
   margin: 0;
  .userInfoTitle {
    padding: 10px 0;
    display: flex;
    box-sizing: border-box;
    background: linear-gradient(0deg, #e91a0e 0%, #f54822 100%),
      linear-gradient(0deg, #e40805 0%, #e40a07 100%);
    p {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    p:nth-child(1),
    p:nth-child(3) {
      width: 10%;
      img {
        width: 29%;
      }
    }
    p:nth-child(2) {
      width: 80%;
      color: #ffffff;
      font-size: 16px;
    }
  }
  .userInfoH {
    padding-top: 4.3rem;
    p {
      display: flex;
      justify-content: center;
      width: 100%;
    }
    p:nth-child(1) {
      z-index: 1;
      img {
        height: 7.6rem;
        width: 28.5%;
        border-radius: 50%;
      }
    }
    p:nth-child(2) {
      z-index: 3;
      position: absolute;
      img {
          width: 5.3%;
          height: 1.1rem;
      }
    }
  }
}

</style>